//
// Created by 原帅 on 2022/11/5.
//

#include "RFinProcIF.h"
#include "RFinRegisterIF.h"
#include "RLog.h"

RFinProcIF::RFinProcIF() {}

RFinProcIF::RFinProcIF(RFinRegisterIF &rFinRegisterIf) {
    registerFinProc(rFinRegisterIf);
}

int RFinProcIF::finFail(int iProcFailRet) {
    RLogErr("finish process failed with iRet:%d",iProcFailRet);
    return iProcFailRet;
}

int RFinProcIF::registerFinProc(RFinRegisterIF &rFinRegisterIf) {
    return rFinRegisterIf.registerFinProc(this);
}
